//
// Created by he on 2023/9/15.
//

#ifndef USB2UART_H
#define USB2UART_H

#include "ch32x035.h"
#include "dap_main.h"

#define USART_BUFFER_SIZE (4096)

extern volatile uint16_t Rx_RemainLen;
extern uint8_t usart_rx_buffer[USART_BUFFER_SIZE];

void chry_dap_usb2uart_rx(void);
void uartx_preinit(void);

#endif //USB2UART_H
